<?php
/**
 * Created by novebeta.
 * Date: 10/19/12
 * Time: 5:05 PM
 */
class BackEndController extends CController
{
    public $layout='//layouts/main';
    public $menu=array();
    public $breadcrumbs=array();
    public $layoutPosition = "left";
    public $layoutHeaderID = "headerMimin2";
    public $layoutLogo = true;

    public function filters()
    {
        return array(
            'accessControl',
        );
    }

    public function accessRules()
    {
        return array(
            array('allow',
                'users'=>array('*'),
                'actions'=>array('login'),
            ),
            array('allow',
                'users'=>array('@'),
            ),
            array('deny',
                'users'=>array('*'),
            ),
        );
    }
}
